//
//  Person.m
//  SYPerfectDemo
//
//  Created by Lssyyy on 2018/8/29.
//  Copyright © 2018年 Lssyyy. All rights reserved.
//

#import "Person.h"

@implementation Person
+ (void)load{
    NSLog(@"person里的load方法执行了");
}

+ (void)initialize{
    NSLog(@"person里的initialize方法执行了");
}
+ (instancetype)shareInstance{
    static Person *_man;
    static dispatch_once_t once;
    dispatch_once(&once, ^{
        _man = [[Person alloc]init];
    });
    return _man;
}

- (void)testMethod{
    NSLog(@"你好");
    
}
@end
